<template>
	<el-icon :size="size" @click="$emit('icon-click')"><component :is="iconFont"></component></el-icon>
</template>

<script setup>
defineEmits(['icon-click'])
defineProps({
	iconFont: {
		type: String,
		default: "FullScreen",
	},
	size: {
		type: String,
		default: "20px",
	},
});
</script>

<style lang="scss" scoped></style>
